# coding=utf-8
from sqlalchemy import Column, String, BigInteger, Float

from db_models.orm_base import BaseOrmClass


class RawQuestions(BaseOrmClass):
    '''
    模型(表)备注:
问题
    '''
    __tablename__ = 'raw_questions'

    '''      '''
    id = Column(BigInteger(), primary_key=True)

    '''   题目   '''
    title = Column(String(), nullable=False)

    '''   选项   '''
    options = Column(String(), nullable=False)

    '''   标准答案(小写)   '''
    answer = Column(String(9))

    '''   维度   '''
    dim = Column(String(45))

    '''   难度系数   '''
    b = Column(Float())

    def exclude(self): return ()
